package com.rule.knowledge.base.models;

import com.rule.rest.RuleNamespace;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
/**
 * 规则业务模型对象
 */
public class Rule {
    //规则名称空间
    RuleNamespace ruleNamespace;
    //规则ID
    String ruleId;
    //规则触发条件
    String condition;
    //规则执行动作
    String action;
    //规则优先级
    Integer priority;
    //g规则描述
    String description;
}
